home *** CD-ROM | disk | FTP | other *** search
- 10 poke53281,0:poke53280,0:poke53269,0:dn$="":iu=0
- 20 print"[147]"spc(12)"icon changer"
- 30 print"[151]enter the filename of the icon you want to change"
- 40 input in$
- 50 print"filename selected is >"in$"[151]<":print"is this correct";
- 60 input" y/n";an$:if an$<>"y"then10
- 70 forct=1to16:pd$=pd$+chr$(32):next:in$=left$(in$+pd$,16)
- 80 open15,8,15,"i0"
- 90 input#15,er$,em$:ifer$<>"00"thenprinter$+" "+em$:close15:end
- 100 t=18:s=1
- 110 open2,8,2,"#"
- 120 print#15,"u1";2;0;t;s:fc=0:fp=2:bp=5
- 130 print#15,"b-p";2;0:get#2,nt$,ns$:t=asc(nt$+chr$(0)):s=asc(ns$+chr$(0))
- 140 print#15,"b-p";2;fp:get#2,ft$:ft$=ft$+chr$(0):ifasc(ft$)=0then280
- 150 print#15,"b-p";2;bp
- 160 forct=1to16
- 170 get#2,bi$
- 180 ifbi$=""thenbi$=chr$(0)
- 190 fi=asc(bi$)
- 200 iffi>127thenfi=fi-128
- 210 iffi<32thenfi=63
- 220 iffi>96andfi<123thenfi=fiand223
- 230 iffi=34thenfi=63
- 240 dn$=dn$+chr$(fi)
- 250 nextct
- 260 ifdn$=in$then310
- 270 dn$=""
- 280 fc=fc+1:iffc=8andt<>0then120
- 290 iffc=8andt=0then560
- 300 fp=fp+32:bp=bp+32:goto140
- 310 get#2,it$,is$
- 320 it=asc(it$+chr$(0)):is=asc(is$+chr$(0))
- 330 print#15,"u1";2;0;it;is
- 340 print#15,"b-p";2;5
- 350 forct=1to63:get#2,id$:id=asc(id$+chr$(0)):poke831+ct,id:next
- 360 poke53269,1:poke2040,13:poke53287,11:poke53248,110:poke53249,147
- 370 poke53249,147
- 380 printspc(15)"<- current icon"
- 390 restore:forct=1to63
- 400 readni:poke895+ct,ni
- 410 ni$=ni$+chr$(ni)
- 420 nextct
- 430 poke53269,3:poke2041,14:poke53288,11:poke53250,110:poke53251,180
- 440 printspc(15)"<- new icon"
- 450 ifiu=0thenprint"[151]proceed with change";
- 460 ifiu=0theninput" y/n";an$:if an$<>"y"then goto550
- 470 ifiu=0thenprint#15,"b-p";2;5
- 480 ifiu=0thenprint#2,ni$;
- 490 ifiu=0thenprint#15,"u2";2;0;it;is
- 500 ifiu=0theniu=1:print"[145][145][145][145][145][145][145][145][145][145][145]":goto330
- 510 print"[151]change completed ":close2:close15
- 520 print"do you want to change another icon to this pattern";
- 530 input" y/n";a$:ifa$="y"then10
- 540 close2:close15:poke53269,0:end
- 550 close2:close15:poke53269,0:print"[147]":printspc(13)"change aborted":end
- 560 print"file not found":close2:close15:end
- 570 rem ** icon data **
- 580 rem ** geopaint icon **
- 590 data 255,255,255,146,73,1,255,255,125,168,0,1,248,31,141,168
- 600 data 32,81,248,64,33,168,64,225,248,131,17,171,255,253,248,136
- 610 data 17,168,112,33,248,64,33,169,160,65,250,31,129,136,0,1
- 620 data 255,255,255,136,6,129,136,4,189,136,4,129,255,255,255,227
- 630 rem ** geowrite icon **
- 640 data 255,255,255,146,73,1,255,255,125,170,170,171,255,255,255,128
- 650 data 0,1,129,94,129,129,170,129,128,0,1,133,251,117,128,0
- 660 data 1,191,215,221,128,0,1,190,237,181,128,0,1,189,181,253
- 670 data 128,0,1,187,124,1,128,0,1,134,245,189,255,255,255,35
- 680 rem ** geowrite application icon #1**
- 690 data 255,255,255,216,0,31,252,0,31,129,188,31,129,94,1,129
- 700 data 235,1,128,0,1,128,0,1,128,0,1,255,255,255,128,0
- 710 data 1,255,255,255,224,0,7,159,0,249,128,255,1,129,0,129
- 720 data 134,0,97,136,0,17,176,0,13,192,0,3,255,255,255,98
- 730 rem ** geowrite application icon #2**
- 740 data 31,255,248,64,0,2,0,15,0,128,127,129,131,255,1,143
- 750 data 254,1,176,127,65,128,254,177,131,184,1,142,16,1,128,12
- 760 data 1,143,255,241,128,0,1,136,146,129,141,170,129,138,186,129
- 770 data 136,170,241,128,0,1,15,255,240,64,0,2,31,255,248,251
- 780 rem ** geopaint application icon **
- 790 data 255,255,255,128,0,1,145,17,1,185,17,1,190,170,253,184
- 800 data 68,1,144,68,1,144,0,1,144,80,1,144,80,1,184,80
- 810 data 1,191,223,253,184,80,1,144,80,1,144,80,1,144,3,255
- 820 data144,2,1,144,2,245,144,2,189,128,2,1,255,255,255,34
-